package entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author yexi
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Entity {

    private Integer age;

    private double money;

    private String name;

    private Date date;

    private LocalDateTime localDateTime;

    public static Entity getTestData() {
        return Entity.builder().age(16).date(new Date()).localDateTime(LocalDateTime.now()).money(754.24).build();
    }

}